#coding=utf-8
import re

'''
' [单行]2.1.2_11 小于号(<)两边需要加空格
'''
def mzcc_udrule_sin2_1_2__11(lineContext):

    results = re.findall(r"<.*>", lineContext.curLine);
    if 0 != len(results):
        return True;

    results = re.findall(r"((?<! |<)<)|(<(?! |=|<|$))", lineContext.curLine);
    if 0 != len(results):
        subResult = re.findall(r"^ *<", lineContext.curLine);
        if 0 != len(subResult):
            return True;
        return False;
    return True;
